/*
 * 文件名：Constant.java
 * 版权：卫士通移动事业部
 * 描述：TODO(用一句话描述该文件做什么)
 * 创建人：chen.zhen
 * 创建时间：2017年5月4日
 */
package com.wct.util;

import com.push.message.ActionEnum;
import com.push.message.VipEnum.VIPVALUES;

import java.util.HashMap;
import java.util.Map;

/**
 * @author chen.zhen
 *         <p>
 *         一句话描述该类型的作用
 */
public class Constant {
    public static final String DEBUGLOG = "icedebug";
    public static final String DEVICEKEY = "device";
    public static final String GROUPID = "groupId";
    public static final String PHONE = "phone";

    public static final String MONIPHONEKEY = "MONIPHONEKEY";
    public static final String MASTERORSLAVE = "MASTERORSLAVE";
    public static final String MASTER = "master";
    public static final String SLAVE = "slave";
    public static final String ICECONFIG_KEY_MASTER = "master";
    public static final String ICECONFIG_KEY_HIDESIMPLE = "hideSimple";
    public static final String ICECONFIG_KEY_HIDEADVANCE = "hideAdvance";
    public static final String ICECONFIG_KEY_MASTERPROXY = "masterProxy";
    public static final String ICECONFIG_KEY_HIDESIMPLEPROXY = "hideSimpleProxy";
    public static final String ICECONFIG_KEY_HIDEADVANCEPROXY = "hideAdvanceProxy";

    public static final String FUQIANLA_MASTER_PREFIX = "99";
    public static final String FUQIANLA_HA_PREFIX = "98";
    public static final String FUQIANLA_HS_PREFIX = "97";
    public static final String ALI_MASTER_PREFIX = "96";

    public static final long quota = 1024L * 1024 * 1024 * 6;

    public static final long TempQuota = 24L * 1024 * 1024;

    public static Map<Integer, Integer> priorityMap = new HashMap<Integer, Integer>();

    public static String OFFLINECONFIG_NOTIFICATION = "notificationOff";
    public static String OFFLINECONFIG_MIC = "mic";
    public static String OFFLINECONFIG_AUTOBOOT = "autoBoot";
    public static String OFFLINECONFIG_POWERSAVE = "powerSave";
    public static String OFFLINECONFIG_ACTIONRECORD = "actionRecord";
    public static String OFFLINECONFIG_SCREENCAPTUREPRIORITY = "screenCapturePriority";
    public static String OFFLINECONFIG_CAMERA = "camera";
    public static String OFFLINECONFIG_LOCATION = "location";
    public static String OFFLINECONFIG_CALLRECORD = "callRecord";
    public static String OFFLINECONFIG_MESSAGE = "message";
    public static String OFFLINECONFIG_CONTACT = "contact";
    public static String OFFLINECONFIG_ACCESS = "accessibility";

    public static String OFFLINEDIAGNOSE_PHONE = "phone";
    public static String OFFLINEDIAGNOSE_MODEL = "model";
    public static String OFFLINEDIAGNOSE_PHONEMODEL = "PhoneModel";
    public static String OFFLINEDIAGNOSE_ANDROIDVERSION = "androidVersion";
    public static String OFFLINEDIAGNOSE_SYSTEMVERSION = "systemVersion";
    public static String OFFLINEDIAGNOSE_VERSION = "version";
    public static String OFFLINEDIAGNOSE_ISONLINE = "isOnline";
    public static String OFFLINEDIAGNOSE_LASTONLINETIME = "lastOnlineTime";
    public static String OFFLINEDIAGNOSE_LASTCLEARINBGTIME = "lastClearInBGTime";
    public static String OFFLINEDIAGNOSE_OFFLINEREASON = "offLineReason";
    public static String OFFLINEDIAGNOSE_PROMPT = "prompt";

    static {
        priorityMap.put(ActionEnum.ActionE.TAKEPHOTO_VALUE, VIPVALUES.TAKEPHOTOVIP_VALUE);
        priorityMap.put(ActionEnum.ActionE.TAKESOUND_VALUE, VIPVALUES.TAKESOUNDVIP_VALUE);
        priorityMap.put(ActionEnum.ActionE.TAKEVEDIO_VALUE, VIPVALUES.TAKEVEDIOVIP_VALUE);
        priorityMap.put(ActionEnum.ActionE.GETCAllRECORDS_VALUE, VIPVALUES.GETCAllRECORDSVIP_VALUE);
        priorityMap.put(ActionEnum.ActionE.GETSHORTMESSAGE_VALUE, VIPVALUES.GETSHORTMESSAGEVIP_VALUE);
        priorityMap.put(ActionEnum.ActionE.GETCONTACT_VALUE, VIPVALUES.GETCONTACTVIP_VALUE);
        priorityMap.put(ActionEnum.ActionE.DESTROYPRIVACY_VALUE, VIPVALUES.DESTROYPRIVACYVIP_VALUE);
        priorityMap.put(ActionEnum.ActionE.DELETEAPP_VALUE, VIPVALUES.DELETEAPPVIP_VALUE);
        priorityMap.put(ActionEnum.ActionE.GETLOCATION_VALUE, VIPVALUES.GETLOCATIONVIP_VALUE);
        priorityMap.put(ActionEnum.ActionE.NODISTURB_VALUE, VIPVALUES.NODISTURBVIP_VALUE);
        priorityMap.put(ActionEnum.ActionE.DECLAREDLOST_VALUE, VIPVALUES.DECLAREDLOSTVIP_VALUE);
        priorityMap.put(ActionEnum.ActionE.ADDMONIPHONEACTION_VALUE, VIPVALUES.ADDMONIPHONEVIP_VALUE);
        priorityMap.put(ActionEnum.ActionE.FORCELOGINACTION_VALUE, VIPVALUES.FORCELOGINVIP_VALUE);
        priorityMap.put(ActionEnum.ActionE.RECORDSCREEN_VALUE, VIPVALUES.CAPTURESCREENVIP_VALUE);
        priorityMap.put(ActionEnum.ActionE.CAPTURESCREEN_VALUE, VIPVALUES.CAPTURESCREENVIP_VALUE);
        priorityMap.put(ActionEnum.ActionE.SOUNDSTREAM_VALUE, VIPVALUES.VEDIOSTEAM_VALUE);
        priorityMap.put(ActionEnum.ActionE.VEDIOSTREAM_VALUE, VIPVALUES.VEDIOSTEAM_VALUE);
        priorityMap.put(ActionEnum.ActionE.TONGPINGSTREAM_VALUE, VIPVALUES.TAKEVEDIOVIP_VALUE);
        priorityMap.put(ActionEnum.ActionE.STOPRECORDSCREEN_VALUE, VIPVALUES.TAKEVEDIOVIP_VALUE);
        priorityMap.put(ActionEnum.ActionE.STOPTAKESOUND_VALUE, VIPVALUES.TAKEPHOTOVIP_VALUE);
        priorityMap.put(ActionEnum.ActionE.STOPTAKEVEDIO_VALUE, VIPVALUES.TAKEVEDIOVIP_VALUE);
        priorityMap.put(ActionEnum.ActionE.STOPSOUNDSTREAM_VALUE, VIPVALUES.VEDIOSTEAM_VALUE);
        priorityMap.put(ActionEnum.ActionE.STOPVEDIOSTREAM_VALUE, VIPVALUES.VEDIOSTEAM_VALUE);
        priorityMap.put(ActionEnum.ActionE.STOP_TONGPINGSTREAM_VALUE, VIPVALUES.TAKEVEDIOVIP_VALUE);
        priorityMap.put(ActionEnum.ActionE.GETSTATUSES_VALUE, VIPVALUES.GETCONTACTVIP_VALUE);
        //priorityMap.put(ActionEnum.ActionE.RECORDSCREEN_VALUE, VIPVALUES.RECORDSCREENVIP_VALUE);
    }
}
